import {defineStore} from "pinia";

export const useBasicStore=defineStore('basic',{
    state:() => {
        return {
            showLeftPanel:true,
            showRightPanel:false
        }
    },
    getters:{
        getShowLeftPanel: (state) => state.showLeftPanel,
        getShowRightPanel: (state) => state.showRightPanel
    },
    actions:{
        setShowLeftPanel(value:boolean){
            this.showLeftPanel=value
        },
        setShowRightPanel(value:boolean){
            this.showRightPanel=value
        }
    }
}

)